<script>
	$(document).ready(function(){
		
		$('#kd_fakultas').change(function(){
			$('#kd_prodi').load(base_url+'prosedur/getProdibyFakultas/'+$('#kd_fakultas').val());
		});	
		$('#kd_prodi').change(function(){
			$('#kd_dosen').load(base_url+'prosedur/getDosenbyProdi/'+$('#kd_prodi').val());
		});
	});
</script>

<form id="form1" method="post" style="margin:10px;">
	<input type="hidden" name="kd_mahasiswa" id="kd_mahasiswa" value="<?=$kd_mahasiswa?>">
	<input type="hidden" name="thn_angkatan" id="thn_angkatan" value="<?=$thn_angkatan?>">
	<input type="hidden" name="tempat_lahir" id="tempat_lahir" value="<?=$tempat_lahir?>">
	<input type="hidden" name="tgl_lahir" id="tgl_lahir" value="<?=$tgl_lahir?>">
	<input type="hidden" name="nama" id="nama" value="<?=$nama?>">
	<input type="hidden" name="alamat" id="alamat" value="<?=$alamat?>">
	<input type="hidden" name="no_telp" id="no_telp" value="<?=$no_telp?>">
	<input type="hidden" name="nama_ortu" id="nama_ortu" value="<?=$nama_ortu?>">
	<input type="hidden" name="alamat_ortu" id="alamat_ortu" value="<?=$alamat_ortu?>">
	<input type="hidden" name="pekerjaan" id="pekerjaan" value="<?=$pekerjaan?>">
	<input type="hidden" name="telp_ortu" id="telp_ortu" value="<?=$telp_ortu?>">
	<div class="fitem" >
		<b><label>Informasi Mahasiswa Pindahan </label> :</b>
	</div>
		<p/>
	<div class="fitem" >
		<label style="width:100px">Tahun Angkatan </label>:
		<label><?=$thn_angkatan?></label>
	</div>
	<div class="fitem" >
		<label style="width:100px">No Pendaftaran </label>:
		<label><?=$no_pendaftaran?></label>
	</div>
	<div class="fitem" >
		<label style="width:100px">Nama </label>:
		<label><?=$nama?></label>
	</div>
	<div class="fitem" >
		<label style="width:100px">Alamat </label>:
		<label><?=$alamat?></label>
	</div>
	<div class="fitem" >
		<label style="width:100px">Telepon Siswa </label>:
		<label><?=$no_telp?></label>
	</div>
	<div class="fitem" >
		<label style="width:100px">Universitas Asal</label>:
		<label><?=$asal_universitas?></label>
	</div>
	<div class="fitem" >
		<label style="width:100px">Telepon Universitas Asal </label>:
		<label><?=$telp_asal_universitas?></label>
	</div>
	<div class="fitem" >
					<label style="width:100px">File Lampiran </label>:
					<a href='<?=base_url()?>file_upload/Mutasi/<?=$lampiran?>' target="blank"><?=$lampiran?></a>
	</div>
	<div>
		<br/>
	</div>
	<div class="fitem" >
		<b><label>Verifikasi </label> :</b>
		<br/>
	</div>
	<div class="fitem" >
		<label style="width:100px">NIM </label>:
		<input name="nim" size="30" required="true" value="<?=$nim?>">
	</div>
	<div class="fitem" >
		<label style="width:100px">Fakultas </label>:
			<select id="kd_fakultas" name="kd_fakultas" style="width:200px;">
					<?=$this->mdl_prosedur->OptionFakultas(array('value'=>$kd_fakultas));?>
			</select>
				<label> </label>
				<label style="width:50px">Prodi  </label>:
			<select id="kd_prodi" name="kd_prodi" style="width:200px;">
					<?=$this->mdl_prosedur->OptionProdi(array('value'=>$kd_prodi, 'kd_fakultas'=>$kd_fakultas));?>
			</select>
	</div>
	<div class="fitem" >
		<label style="width:100px">Dosen Wali </label>:
		<select id="kd_dosen" name="kd_dosen" style="width:200px;">
			<?=$this->mdl_prosedur->OptionDosen(array('value'=>$kd_dosen , 'kd_prodi'=>$kd_prodi));?>
		</select>
	</div>
</form>
	

